Class CommonToolbarImpl

java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.ui.impl.CommonToolbarImpl
All Implemented Interfaces:
IPCObject, CommonToolbar

public class CommonToolbarImpl extends IPCObjectImpl implements CommonToolbar
Information provided by the PKI file:

    \class CommonToolbar
    
    \brief CommonToolbar allows UI manipulation of the right most vertical toolbar.
    
    \example appWindow().getCommonToolbar()
    
Author:
Auto-generated
  • Constructor Details

  • Method Details

    • setVisible

      public void setVisible(boolean bVisible)
      Information provided by the PKI file:
      
          \brief Shows or hides this widget from view.
          
          \param bVisible, true to show this widget, false to hide it.
          
              
      Specified by:
      setVisible in interface CommonToolbar
      Parameters:
      bVisible - Takes in a parameter of bVisible
    • setWidgetVisible

      public void setWidgetVisible(String widgetName, boolean bVisible)
      Information provided by the PKI file:
      
          \brief Shows or hides the specified child widget.
          
          \param widgetName, where widgetName can be one of the following: SelectBtn, MoveBtn, NoteBtn, DeleteBtn, InspectBtn, DrawPolyBtn, AddSimpleBtn, AddComplexPDUBtn.
          \param bVisible, true to show this child widget, false to hide it.
          
              
      Specified by:
      setWidgetVisible in interface CommonToolbar
      Parameters:
      widgetName - Takes in a parameter of widgetName
      bVisible - Takes in a parameter of bVisible
    • setDisabled

      public void setDisabled(boolean bDisable)
      Information provided by the PKI file:
      
          \brief Enables or disables input events to this widget.
          
          \param bDisabled, true to disable input events to this widget, false to enable input events.
          
              
      Specified by:
      setDisabled in interface CommonToolbar
      Parameters:
      bDisable - Takes in a parameter of bDisable
    • setWidgetDisable

      public void setWidgetDisable(String widgetName, boolean bDisable)
      Information provided by the PKI file:
      
          \brief Enables or disables the specified child widget.
          
          \param widgetName, where widgetName can be one of the following: SelectBtn, MoveBtn, NoteBtn, DeleteBtn, InspectBtn, DrawPolyBtn, AddSimpleBtn, AddComplexPDUBtn.
          \param bDisabled, true to disable input events to this child widget, false to enable input events.
          
              
      Specified by:
      setWidgetDisable in interface CommonToolbar
      Parameters:
      widgetName - Takes in a parameter of widgetName
      bDisable - Takes in a parameter of bDisable
    • changeState

      public void changeState(String state)
      Information provided by the PKI file:
      
          \brief Changes the state of the common toolbar.
          
          \param state,       the new state for the Common Toolbar.
          Allowed states:     select,
          move,
          note,
          delete,
          inspect,
          drawpolygon,
          addsimple,
          addcomplex
          
              
      Specified by:
      changeState in interface CommonToolbar
      Parameters:
      state - Takes in a parameter of state